package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目对象 topic
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class Topic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** type */
    @Excel(name = "type")
    private String type;

    /** difficulty */
    @Excel(name = "difficulty")
    private Integer difficulty;

    /** stem */
    @Excel(name = "stem")
    private String stem;

    /** options */
    @Excel(name = "options")
    private String options;

    /** solution */
    @Excel(name = "solution")
    private String solution;

    /** explanation */
    @Excel(name = "explanation")
    private String explanation;

    /** tag */
    @Excel(name = "tag")
    private String tag;

    /** image_url */
    @Excel(name = "image_url")
    private String imageUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDifficulty(Integer difficulty) 
    {
        this.difficulty = difficulty;
    }

    public Integer getDifficulty() 
    {
        return difficulty;
    }
    public void setStem(String stem) 
    {
        this.stem = stem;
    }

    public String getStem() 
    {
        return stem;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setSolution(String solution) 
    {
        this.solution = solution;
    }

    public String getSolution() 
    {
        return solution;
    }
    public void setExplanation(String explanation) 
    {
        this.explanation = explanation;
    }

    public String getExplanation() 
    {
        return explanation;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("difficulty", getDifficulty())
            .append("stem", getStem())
            .append("options", getOptions())
            .append("solution", getSolution())
            .append("explanation", getExplanation())
            .append("tag", getTag())
            .append("imageUrl", getImageUrl())
            .toString();
    }
}
